Package | hl7.fhir.uv.xver |
Type | StructureMap |
Id | Id |
FHIR Version | R5 |
Source | http://hl7.org/fhir/extensions/https://build.fhir.org/ig/HL7/fhir-cross-version/StructureMap-primitives2to3.html |
Url | http://hl7.org/fhir/StructureMap/primitives2to3 |
Version | 0.1.0 |
Status | active |
Date | 2024-02-22T03:16:50+00:00 |
Name | primitives2to3 |
Title | Primitive Transforms: R2 to R3 |
Experimental | False |
Realm | uv |
Authority | hl7 |
Description | PrimitiveTransformsR2toR3 |
No resources found
No resources found
Note: links and images are rebased to the (stated) source
/// url = 'http://hl7.org/fhir/StructureMap/primitives2to3' /// name = 'primitives2to3' /// title = 'Primitive Transforms: R2 to R3' /// status = 'active' uses "http://hl7.org/fhir/1.0/base64Binary" alias base64BinaryR2 as source uses "http://hl7.org/fhir/3.0/base64Binary" as target uses "http://hl7.org/fhir/1.0/boolean" alias booleanR2 as source uses "http://hl7.org/fhir/3.0/boolean" as target uses "http://hl7.org/fhir/1.0/code" alias codeR2 as source uses "http://hl7.org/fhir/3.0/code" as target uses "http://hl7.org/fhir/1.0/date" alias dateR2 as source uses "http://hl7.org/fhir/3.0/date" as target uses "http://hl7.org/fhir/1.0/dateTime" alias dateTimeR2 as source uses "http://hl7.org/fhir/3.0/dateTime" as target uses "http://hl7.org/fhir/1.0/decimal" alias decimalR2 as source uses "http://hl7.org/fhir/3.0/decimal" as target uses "http://hl7.org/fhir/1.0/id" alias idR2 as source uses "http://hl7.org/fhir/3.0/id" as target uses "http://hl7.org/fhir/1.0/instant" alias instantR2 as source uses "http://hl7.org/fhir/3.0/instant" as target uses "http://hl7.org/fhir/1.0/integer" alias integerR2 as source uses "http://hl7.org/fhir/3.0/integer" as target uses "http://hl7.org/fhir/1.0/markdown" alias markdownR2 as source uses "http://hl7.org/fhir/3.0/markdown" as target uses "http://hl7.org/fhir/1.0/oid" alias oidR2 as source uses "http://hl7.org/fhir/3.0/oid" as target uses "http://hl7.org/fhir/1.0/positiveInt" alias positiveIntR2 as source uses "http://hl7.org/fhir/3.0/positiveInt" as target uses "http://hl7.org/fhir/1.0/string" alias stringR2 as source uses "http://hl7.org/fhir/3.0/string" as target uses "http://hl7.org/fhir/1.0/time" alias timeR2 as source uses "http://hl7.org/fhir/3.0/time" as target uses "http://hl7.org/fhir/1.0/unsignedInt" alias unsignedIntR2 as source uses "http://hl7.org/fhir/3.0/unsignedInt" as target uses "http://hl7.org/fhir/1.0/uri" alias uriR2 as source uses "http://hl7.org/fhir/3.0/uri" as target uses "http://hl7.org/fhir/1.0/uuid" alias uuidR2 as source uses "http://hl7.org/fhir/3.0/uuid" as target uses "http://hl7.org/fhir/1.0/xhtml" alias xhtmlR2 as source uses "http://hl7.org/fhir/3.0/xhtml" as target imports "http://hl7.org/fhir/StructureMap/Element2to3" group base64Binary(source src : base64BinaryR2, target tgt : base64Binary) extends Element <<type+>> { src.value as v -> tgt.value = v "base64Binary-value"; } group boolean(source src : booleanR2, target tgt : boolean) extends Element <<type+>> { src.value as v -> tgt.value = v "boolean-value"; } group code(source src : codeR2, target tgt : code) extends Element <<type+>> { src.value as v -> tgt.value = v "code-value"; } group date(source src : dateR2, target tgt : date) extends Element <<type+>> { src.value as v -> tgt.value = v "date-value"; } group dateTime(source src : dateTimeR2, target tgt : dateTime) extends Element <<type+>> { src.value as v -> tgt.value = v "dateTime-value"; } group decimal(source src : decimalR2, target tgt : decimal) extends Element <<type+>> { src.value as v -> tgt.value = v "decimal-value"; } group id(source src : idR2, target tgt : id) extends Element <<type+>> { src.value as v -> tgt.value = v "id-value"; } group instant(source src : instantR2, target tgt : instant) extends Element <<type+>> { src.value as v -> tgt.value = v "instant-value"; } group integer(source src : integerR2, target tgt : integer) extends Element <<type+>> { src.value as v -> tgt.value = v "integer-value"; } group markdown(source src : markdownR2, target tgt : markdown) extends Element <<type+>> { src.value as v -> tgt.value = v "markdown-value"; } group oid(source src : oidR2, target tgt : oid) extends Element <<type+>> { src.value as v -> tgt.value = v "oid-value"; } group positiveInt(source src : positiveIntR2, target tgt : positiveInt) extends Element <<type+>> { src.value as v -> tgt.value = v "positiveInt-value"; } group string(source src : stringR2, target tgt : string) extends Element <<type+>> { src.value as v -> tgt.value = v "string-value"; } group time(source src : timeR2, target tgt : time) extends Element <<type+>> { src.value as v -> tgt.value = v "time-value"; } group unsignedInt(source src : unsignedIntR2, target tgt : unsignedInt) extends Element <<type+>> { src.value as v -> tgt.value = v "unsignedInt-value"; } group uri(source src : uriR2, target tgt : uri) extends Element <<type+>> { src.value as v -> tgt.value = v "uri-value"; } group uuid(source src : uuidR2, target tgt : uuid) extends Element <<type+>> { src.value as v -> tgt.value = v "uuid-value"; } group xhtml(source src : xhtmlR2, target tgt : xhtml) extends Element <<type+>> { src.value as v -> tgt.value = v "xhtml-value"; } group stringToMarkdown(source src : stringR2, target tgt : markdown) extends Element <<types>> { src.value as v -> tgt.value = v "stringToMarkdown-value"; } group codeToUri(source src : codeR2, target tgt : uri) extends Element <<types>> { src.value as v -> tgt.value = v "codeToUri-value"; } group stringToId(source src : stringR2, target tgt : id) extends Element <<types>> { src.value as v -> tgt.value = v "stringToId-value"; } group idToString(source src : idR2, target tgt : string) extends Element <<types>> { src.value as v -> tgt.value = v "stringToId-value"; } group stringToUri(source src : stringR2, target tgt : uri) extends Element <<types>> { src.value as v -> tgt.value = v "stringToUri-value"; } group stringToCode(source src : stringR2, target tgt : code) extends Element <<types>> { src.value as v -> tgt.value = v "stringToCode-value"; } group codeToString(source src : codeR2, target tgt : string) extends Element <<types>> { src.value as v -> tgt.value = v "stringToCode-value"; } group integerToPositiveInt(source src : integerR2, target tgt : positiveInt) extends Element <<types>> { src.value as v -> tgt.value = v "integerToPositiveInt-value"; } group integerToUnsignedInt(source src : integerR2, target tgt : unsignedInt) extends Element <<types>> { src.value as v -> tgt.value = v "integerToUnsignedInt-value"; } group dateToDateTime(source src : dateR2, target tgt : dateTime) extends Element <<types>> { src.value as v -> tgt.value = v "dateToDateTime-value"; } group dateTimeToDate(source src : dateTimeR2, target tgt : date) extends Element <<types>> { src.value as v -> tgt.value = (v.substring(0, 8)) "dateTimeToDate-value"; }
{
"resourceType" : "StructureMap",
"id" : "primitives2to3",
"text" : {
"status" : "generated",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><pre class=\"fml\">\r\n<span style=\"color: #cc00cc\">/// <b>url</b> = </span><span style=\"color: blue\">'http://hl7.org/fhir/StructureMap/primitives2to3'</span>\r\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'primitives2to3'</span>\r\n<span style=\"color: #cc00cc\">/// <b>title</b> = </span><span style=\"color: blue\">'Primitive Transforms: R2 to R3'</span>\r\n<span style=\"color: #cc00cc\">/// <b>status</b> = </span><span style=\"color: blue\">'active'</span>\r\n\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/1.0/base64Binary<span style=\"color: navy\">" </span><b>alias </b>base64BinaryR2 <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/3.0/base64Binary<span style=\"color: navy\">" </span><b>as </b><b>target</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/1.0/boolean<span style=\"color: navy\">" </span><b>alias </b>booleanR2 <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/3.0/boolean<span style=\"color: navy\">" </span><b>as </b><b>target</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/1.0/code<span style=\"color: navy\">" </span><b>alias </b>codeR2 <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/3.0/code<span style=\"color: navy\">" </span><b>as </b><b>target</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/1.0/date<span style=\"color: navy\">" </span><b>alias </b>dateR2 <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/3.0/date<span style=\"color: navy\">" </span><b>as </b><b>target</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/1.0/dateTime<span style=\"color: navy\">" </span><b>alias </b>dateTimeR2 <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/3.0/dateTime<span style=\"color: navy\">" </span><b>as </b><b>target</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/1.0/decimal<span style=\"color: navy\">" </span><b>alias </b>decimalR2 <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/3.0/decimal<span style=\"color: navy\">" </span><b>as </b><b>target</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/1.0/id<span style=\"color: navy\">" </span><b>alias </b>idR2 <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/3.0/id<span style=\"color: navy\">" </span><b>as </b><b>target</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/1.0/instant<span style=\"color: navy\">" </span><b>alias </b>instantR2 <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/3.0/instant<span style=\"color: navy\">" </span><b>as </b><b>target</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/1.0/integer<span style=\"color: navy\">" </span><b>alias </b>integerR2 <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/3.0/integer<span style=\"color: navy\">" </span><b>as </b><b>target</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/1.0/markdown<span style=\"color: navy\">" </span><b>alias </b>markdownR2 <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/3.0/markdown<span style=\"color: navy\">" </span><b>as </b><b>target</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/1.0/oid<span style=\"color: navy\">" </span><b>alias </b>oidR2 <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/3.0/oid<span style=\"color: navy\">" </span><b>as </b><b>target</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/1.0/positiveInt<span style=\"color: navy\">" </span><b>alias </b>positiveIntR2 <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/3.0/positiveInt<span style=\"color: navy\">" </span><b>as </b><b>target</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/1.0/string<span style=\"color: navy\">" </span><b>alias </b>stringR2 <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/3.0/string<span style=\"color: navy\">" </span><b>as </b><b>target</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/1.0/time<span style=\"color: navy\">" </span><b>alias </b>timeR2 <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/3.0/time<span style=\"color: navy\">" </span><b>as </b><b>target</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/1.0/unsignedInt<span style=\"color: navy\">" </span><b>alias </b>unsignedIntR2 <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/3.0/unsignedInt<span style=\"color: navy\">" </span><b>as </b><b>target</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/1.0/uri<span style=\"color: navy\">" </span><b>alias </b>uriR2 <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/3.0/uri<span style=\"color: navy\">" </span><b>as </b><b>target</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/1.0/uuid<span style=\"color: navy\">" </span><b>alias </b>uuidR2 <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/3.0/uuid<span style=\"color: navy\">" </span><b>as </b><b>target</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/1.0/xhtml<span style=\"color: navy\">" </span><b>alias </b>xhtmlR2 <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/3.0/xhtml<span style=\"color: navy\">" </span><b>as </b><b>target</b>\r\n\r\n<b>imports</b><span style=\"color: navy\"> "</span><a href=\"StructureMap-Element2to3.html\" title=\"Period Transforms: R2 to R3\">http://hl7.org/fhir/StructureMap/Element2to3</a><span style=\"color: navy\">"\r\n</span>\r\n<b>group </b>base64Binary<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>base64BinaryR2, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>base64Binary<span style=\"color: navy\">)</span><b> extends </b>Element<b> <<type+>></b><span style=\"color: navy\"> {\r\n</span> src.value<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.value = <span style=\"color: maroon\">v</span> <i>"base64Binary-value"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>boolean<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>booleanR2, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>boolean<span style=\"color: navy\">)</span><b> extends </b>Element<b> <<type+>></b><span style=\"color: navy\"> {\r\n</span> src.value<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.value = <span style=\"color: maroon\">v</span> <i>"boolean-value"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>code<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>codeR2, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>code<span style=\"color: navy\">)</span><b> extends </b>Element<b> <<type+>></b><span style=\"color: navy\"> {\r\n</span> src.value<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.value = <span style=\"color: maroon\">v</span> <i>"code-value"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>date<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>dateR2, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>date<span style=\"color: navy\">)</span><b> extends </b>Element<b> <<type+>></b><span style=\"color: navy\"> {\r\n</span> src.value<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.value = <span style=\"color: maroon\">v</span> <i>"date-value"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>dateTime<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>dateTimeR2, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>dateTime<span style=\"color: navy\">)</span><b> extends </b>Element<b> <<type+>></b><span style=\"color: navy\"> {\r\n</span> src.value<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.value = <span style=\"color: maroon\">v</span> <i>"dateTime-value"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>decimal<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>decimalR2, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>decimal<span style=\"color: navy\">)</span><b> extends </b>Element<b> <<type+>></b><span style=\"color: navy\"> {\r\n</span> src.value<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.value = <span style=\"color: maroon\">v</span> <i>"decimal-value"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>id<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>idR2, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>id<span style=\"color: navy\">)</span><b> extends </b>Element<b> <<type+>></b><span style=\"color: navy\"> {\r\n</span> src.value<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.value = <span style=\"color: maroon\">v</span> <i>"id-value"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>instant<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>instantR2, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>instant<span style=\"color: navy\">)</span><b> extends </b>Element<b> <<type+>></b><span style=\"color: navy\"> {\r\n</span> src.value<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.value = <span style=\"color: maroon\">v</span> <i>"instant-value"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>integer<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>integerR2, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>integer<span style=\"color: navy\">)</span><b> extends </b>Element<b> <<type+>></b><span style=\"color: navy\"> {\r\n</span> src.value<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.value = <span style=\"color: maroon\">v</span> <i>"integer-value"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>markdown<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>markdownR2, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>markdown<span style=\"color: navy\">)</span><b> extends </b>Element<b> <<type+>></b><span style=\"color: navy\"> {\r\n</span> src.value<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.value = <span style=\"color: maroon\">v</span> <i>"markdown-value"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>oid<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>oidR2, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>oid<span style=\"color: navy\">)</span><b> extends </b>Element<b> <<type+>></b><span style=\"color: navy\"> {\r\n</span> src.value<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.value = <span style=\"color: maroon\">v</span> <i>"oid-value"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>positiveInt<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>positiveIntR2, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>positiveInt<span style=\"color: navy\">)</span><b> extends </b>Element<b> <<type+>></b><span style=\"color: navy\"> {\r\n</span> src.value<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.value = <span style=\"color: maroon\">v</span> <i>"positiveInt-value"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>string<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>stringR2, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>string<span style=\"color: navy\">)</span><b> extends </b>Element<b> <<type+>></b><span style=\"color: navy\"> {\r\n</span> src.value<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.value = <span style=\"color: maroon\">v</span> <i>"string-value"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>time<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>timeR2, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>time<span style=\"color: navy\">)</span><b> extends </b>Element<b> <<type+>></b><span style=\"color: navy\"> {\r\n</span> src.value<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.value = <span style=\"color: maroon\">v</span> <i>"time-value"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>unsignedInt<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>unsignedIntR2, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>unsignedInt<span style=\"color: navy\">)</span><b> extends </b>Element<b> <<type+>></b><span style=\"color: navy\"> {\r\n</span> src.value<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.value = <span style=\"color: maroon\">v</span> <i>"unsignedInt-value"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>uri<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>uriR2, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>uri<span style=\"color: navy\">)</span><b> extends </b>Element<b> <<type+>></b><span style=\"color: navy\"> {\r\n</span> src.value<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.value = <span style=\"color: maroon\">v</span> <i>"uri-value"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>uuid<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>uuidR2, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>uuid<span style=\"color: navy\">)</span><b> extends </b>Element<b> <<type+>></b><span style=\"color: navy\"> {\r\n</span> src.value<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.value = <span style=\"color: maroon\">v</span> <i>"uuid-value"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>xhtml<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>xhtmlR2, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>xhtml<span style=\"color: navy\">)</span><b> extends </b>Element<b> <<type+>></b><span style=\"color: navy\"> {\r\n</span> src.value<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.value = <span style=\"color: maroon\">v</span> <i>"xhtml-value"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>stringToMarkdown<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>stringR2, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>markdown<span style=\"color: navy\">)</span><b> extends </b>Element<b> <<types>></b><span style=\"color: navy\"> {\r\n</span> src.value<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.value = <span style=\"color: maroon\">v</span> <i>"stringToMarkdown-value"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>codeToUri<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>codeR2, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>uri<span style=\"color: navy\">)</span><b> extends </b>Element<b> <<types>></b><span style=\"color: navy\"> {\r\n</span> src.value<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.value = <span style=\"color: maroon\">v</span> <i>"codeToUri-value"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>stringToId<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>stringR2, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>id<span style=\"color: navy\">)</span><b> extends </b>Element<b> <<types>></b><span style=\"color: navy\"> {\r\n</span> src.value<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.value = <span style=\"color: maroon\">v</span> <i>"stringToId-value"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>idToString<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>idR2, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>string<span style=\"color: navy\">)</span><b> extends </b>Element<b> <<types>></b><span style=\"color: navy\"> {\r\n</span> src.value<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.value = <span style=\"color: maroon\">v</span> <i>"stringToId-value"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>stringToUri<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>stringR2, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>uri<span style=\"color: navy\">)</span><b> extends </b>Element<b> <<types>></b><span style=\"color: navy\"> {\r\n</span> src.value<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.value = <span style=\"color: maroon\">v</span> <i>"stringToUri-value"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>stringToCode<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>stringR2, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>code<span style=\"color: navy\">)</span><b> extends </b>Element<b> <<types>></b><span style=\"color: navy\"> {\r\n</span> src.value<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.value = <span style=\"color: maroon\">v</span> <i>"stringToCode-value"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>codeToString<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>codeR2, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>string<span style=\"color: navy\">)</span><b> extends </b>Element<b> <<types>></b><span style=\"color: navy\"> {\r\n</span> src.value<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.value = <span style=\"color: maroon\">v</span> <i>"stringToCode-value"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>integerToPositiveInt<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>integerR2, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>positiveInt<span style=\"color: navy\">)</span><b> extends </b>Element<b> <<types>></b><span style=\"color: navy\"> {\r\n</span> src.value<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.value = <span style=\"color: maroon\">v</span> <i>"integerToPositiveInt-value"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>integerToUnsignedInt<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>integerR2, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>unsignedInt<span style=\"color: navy\">)</span><b> extends </b>Element<b> <<types>></b><span style=\"color: navy\"> {\r\n</span> src.value<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.value = <span style=\"color: maroon\">v</span> <i>"integerToUnsignedInt-value"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>dateToDateTime<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>dateR2, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>dateTime<span style=\"color: navy\">)</span><b> extends </b>Element<b> <<types>></b><span style=\"color: navy\"> {\r\n</span> src.value<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.value = <span style=\"color: maroon\">v</span> <i>"dateToDateTime-value"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>dateTimeToDate<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>dateTimeR2, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>date<span style=\"color: navy\">)</span><b> extends </b>Element<b> <<types>></b><span style=\"color: navy\"> {\r\n</span> src.value<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.value = <span style=\"color: navy\">(</span>v.substring(0, 8)<span style=\"color: navy\">)</span> <i>"dateTimeToDate-value"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span></pre></div>"
},
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
"valueCode" : "fhir"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
"valueInteger" : 1,
"_valueInteger" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
"valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"
}
]
}
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "draft",
"_valueCode" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
"valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"
}
]
}
}
],
"url" : "http://hl7.org/fhir/StructureMap/primitives2to3",
"version" : "0.1.0",
"name" : "primitives2to3",
"title" : "Primitive Transforms: R2 to R3",
"status" : "active",
"date" : "2024-02-22T03:16:50+00:00",
"publisher" : "HL7 International / FHIR Infrastructure",
"contact" : [
{
"telecom" : [
{
"system" : "url",
"value" : "http://www.hl7.org/Special/committees/fiwg"
}
]
}
],
"description" : "PrimitiveTransformsR2toR3",
"jurisdiction" : [
{
"coding" : [
{
"system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code" : "001"
}
]
}
],
"structure" : [
{
"url" : "http://hl7.org/fhir/1.0/base64Binary",
"mode" : "source",
"alias" : "base64BinaryR2"
},
{
"url" : "http://hl7.org/fhir/3.0/base64Binary",
"mode" : "target"
},
{
"url" : "http://hl7.org/fhir/1.0/boolean",
"mode" : "source",
"alias" : "booleanR2"
},
{
"url" : "http://hl7.org/fhir/3.0/boolean",
"mode" : "target"
},
{
"url" : "http://hl7.org/fhir/1.0/code",
"mode" : "source",
"alias" : "codeR2"
},
{
"url" : "http://hl7.org/fhir/3.0/code",
"mode" : "target"
},
{
"url" : "http://hl7.org/fhir/1.0/date",
"mode" : "source",
"alias" : "dateR2"
},
{
"url" : "http://hl7.org/fhir/3.0/date",
"mode" : "target"
},
{
"url" : "http://hl7.org/fhir/1.0/dateTime",
"mode" : "source",
"alias" : "dateTimeR2"
},
{
"url" : "http://hl7.org/fhir/3.0/dateTime",
"mode" : "target"
},
{
"url" : "http://hl7.org/fhir/1.0/decimal",
"mode" : "source",
"alias" : "decimalR2"
},
{
"url" : "http://hl7.org/fhir/3.0/decimal",
"mode" : "target"
},
{
"url" : "http://hl7.org/fhir/1.0/id",
"mode" : "source",
"alias" : "idR2"
},
{
"url" : "http://hl7.org/fhir/3.0/id",
"mode" : "target"
},
{
"url" : "http://hl7.org/fhir/1.0/instant",
"mode" : "source",
"alias" : "instantR2"
},
{
"url" : "http://hl7.org/fhir/3.0/instant",
"mode" : "target"
},
{
"url" : "http://hl7.org/fhir/1.0/integer",
"mode" : "source",
"alias" : "integerR2"
},
{
"url" : "http://hl7.org/fhir/3.0/integer",
"mode" : "target"
},
{
"url" : "http://hl7.org/fhir/1.0/markdown",
"mode" : "source",
"alias" : "markdownR2"
},
{
"url" : "http://hl7.org/fhir/3.0/markdown",
"mode" : "target"
},
{
"url" : "http://hl7.org/fhir/1.0/oid",
"mode" : "source",
"alias" : "oidR2"
},
{
"url" : "http://hl7.org/fhir/3.0/oid",
"mode" : "target"
},
{
"url" : "http://hl7.org/fhir/1.0/positiveInt",
"mode" : "source",
"alias" : "positiveIntR2"
},
{
"url" : "http://hl7.org/fhir/3.0/positiveInt",
"mode" : "target"
},
{
"url" : "http://hl7.org/fhir/1.0/string",
"mode" : "source",
"alias" : "stringR2"
},
{
"url" : "http://hl7.org/fhir/3.0/string",
"mode" : "target"
},
{
"url" : "http://hl7.org/fhir/1.0/time",
"mode" : "source",
"alias" : "timeR2"
},
{
"url" : "http://hl7.org/fhir/3.0/time",
"mode" : "target"
},
{
"url" : "http://hl7.org/fhir/1.0/unsignedInt",
"mode" : "source",
"alias" : "unsignedIntR2"
},
{
"url" : "http://hl7.org/fhir/3.0/unsignedInt",
"mode" : "target"
},
{
"url" : "http://hl7.org/fhir/1.0/uri",
"mode" : "source",
"alias" : "uriR2"
},
{
"url" : "http://hl7.org/fhir/3.0/uri",
"mode" : "target"
},
{
"url" : "http://hl7.org/fhir/1.0/uuid",
"mode" : "source",
"alias" : "uuidR2"
},
{
"url" : "http://hl7.org/fhir/3.0/uuid",
"mode" : "target"
},
{
"url" : "http://hl7.org/fhir/1.0/xhtml",
"mode" : "source",
"alias" : "xhtmlR2"
},
{
"url" : "http://hl7.org/fhir/3.0/xhtml",
"mode" : "target"
}
],
"import" : [
"http://hl7.org/fhir/StructureMap/Element2to3"
],
"group" : [
{
"name" : "base64Binary",
"extends" : "Element",
"typeMode" : "type-and-types",
"input" : [
{
"name" : "src",
"type" : "base64BinaryR2",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "base64Binary",
"mode" : "target"
}
],
"rule" : [
{
"name" : "base64Binary-value",
"source" : [
{
"context" : "src",
"element" : "value",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"transform" : "copy",
"parameter" : [
{
"valueId" : "v"
}
]
}
]
}
]
},
{
"name" : "boolean",
"extends" : "Element",
"typeMode" : "type-and-types",
"input" : [
{
"name" : "src",
"type" : "booleanR2",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "boolean",
"mode" : "target"
}
],
"rule" : [
{
"name" : "boolean-value",
"source" : [
{
"context" : "src",
"element" : "value",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"transform" : "copy",
"parameter" : [
{
"valueId" : "v"
}
]
}
]
}
]
},
{
"name" : "code",
"extends" : "Element",
"typeMode" : "type-and-types",
"input" : [
{
"name" : "src",
"type" : "codeR2",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "code",
"mode" : "target"
}
],
"rule" : [
{
"name" : "code-value",
"source" : [
{
"context" : "src",
"element" : "value",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"transform" : "copy",
"parameter" : [
{
"valueId" : "v"
}
]
}
]
}
]
},
{
"name" : "date",
"extends" : "Element",
"typeMode" : "type-and-types",
"input" : [
{
"name" : "src",
"type" : "dateR2",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "date",
"mode" : "target"
}
],
"rule" : [
{
"name" : "date-value",
"source" : [
{
"context" : "src",
"element" : "value",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"transform" : "copy",
"parameter" : [
{
"valueId" : "v"
}
]
}
]
}
]
},
{
"name" : "dateTime",
"extends" : "Element",
"typeMode" : "type-and-types",
"input" : [
{
"name" : "src",
"type" : "dateTimeR2",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "dateTime",
"mode" : "target"
}
],
"rule" : [
{
"name" : "dateTime-value",
"source" : [
{
"context" : "src",
"element" : "value",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"transform" : "copy",
"parameter" : [
{
"valueId" : "v"
}
]
}
]
}
]
},
{
"name" : "decimal",
"extends" : "Element",
"typeMode" : "type-and-types",
"input" : [
{
"name" : "src",
"type" : "decimalR2",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "decimal",
"mode" : "target"
}
],
"rule" : [
{
"name" : "decimal-value",
"source" : [
{
"context" : "src",
"element" : "value",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"transform" : "copy",
"parameter" : [
{
"valueId" : "v"
}
]
}
]
}
]
},
{
"name" : "id",
"extends" : "Element",
"typeMode" : "type-and-types",
"input" : [
{
"name" : "src",
"type" : "idR2",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "id",
"mode" : "target"
}
],
"rule" : [
{
"name" : "id-value",
"source" : [
{
"context" : "src",
"element" : "value",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"transform" : "copy",
"parameter" : [
{
"valueId" : "v"
}
]
}
]
}
]
},
{
"name" : "instant",
"extends" : "Element",
"typeMode" : "type-and-types",
"input" : [
{
"name" : "src",
"type" : "instantR2",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "instant",
"mode" : "target"
}
],
"rule" : [
{
"name" : "instant-value",
"source" : [
{
"context" : "src",
"element" : "value",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"transform" : "copy",
"parameter" : [
{
"valueId" : "v"
}
]
}
]
}
]
},
{
"name" : "integer",
"extends" : "Element",
"typeMode" : "type-and-types",
"input" : [
{
"name" : "src",
"type" : "integerR2",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "integer",
"mode" : "target"
}
],
"rule" : [
{
"name" : "integer-value",
"source" : [
{
"context" : "src",
"element" : "value",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"transform" : "copy",
"parameter" : [
{
"valueId" : "v"
}
]
}
]
}
]
},
{
"name" : "markdown",
"extends" : "Element",
"typeMode" : "type-and-types",
"input" : [
{
"name" : "src",
"type" : "markdownR2",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "markdown",
"mode" : "target"
}
],
"rule" : [
{
"name" : "markdown-value",
"source" : [
{
"context" : "src",
"element" : "value",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"transform" : "copy",
"parameter" : [
{
"valueId" : "v"
}
]
}
]
}
]
},
{
"name" : "oid",
"extends" : "Element",
"typeMode" : "type-and-types",
"input" : [
{
"name" : "src",
"type" : "oidR2",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "oid",
"mode" : "target"
}
],
"rule" : [
{
"name" : "oid-value",
"source" : [
{
"context" : "src",
"element" : "value",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"transform" : "copy",
"parameter" : [
{
"valueId" : "v"
}
]
}
]
}
]
},
{
"name" : "positiveInt",
"extends" : "Element",
"typeMode" : "type-and-types",
"input" : [
{
"name" : "src",
"type" : "positiveIntR2",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "positiveInt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "positiveInt-value",
"source" : [
{
"context" : "src",
"element" : "value",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"transform" : "copy",
"parameter" : [
{
"valueId" : "v"
}
]
}
]
}
]
},
{
"name" : "string",
"extends" : "Element",
"typeMode" : "type-and-types",
"input" : [
{
"name" : "src",
"type" : "stringR2",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "string",
"mode" : "target"
}
],
"rule" : [
{
"name" : "string-value",
"source" : [
{
"context" : "src",
"element" : "value",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"transform" : "copy",
"parameter" : [
{
"valueId" : "v"
}
]
}
]
}
]
},
{
"name" : "time",
"extends" : "Element",
"typeMode" : "type-and-types",
"input" : [
{
"name" : "src",
"type" : "timeR2",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "time",
"mode" : "target"
}
],
"rule" : [
{
"name" : "time-value",
"source" : [
{
"context" : "src",
"element" : "value",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"transform" : "copy",
"parameter" : [
{
"valueId" : "v"
}
]
}
]
}
]
},
{
"name" : "unsignedInt",
"extends" : "Element",
"typeMode" : "type-and-types",
"input" : [
{
"name" : "src",
"type" : "unsignedIntR2",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "unsignedInt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "unsignedInt-value",
"source" : [
{
"context" : "src",
"element" : "value",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"transform" : "copy",
"parameter" : [
{
"valueId" : "v"
}
]
}
]
}
]
},
{
"name" : "uri",
"extends" : "Element",
"typeMode" : "type-and-types",
"input" : [
{
"name" : "src",
"type" : "uriR2",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "uri",
"mode" : "target"
}
],
"rule" : [
{
"name" : "uri-value",
"source" : [
{
"context" : "src",
"element" : "value",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"transform" : "copy",
"parameter" : [
{
"valueId" : "v"
}
]
}
]
}
]
},
{
"name" : "uuid",
"extends" : "Element",
"typeMode" : "type-and-types",
"input" : [
{
"name" : "src",
"type" : "uuidR2",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "uuid",
"mode" : "target"
}
],
"rule" : [
{
"name" : "uuid-value",
"source" : [
{
"context" : "src",
"element" : "value",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"transform" : "copy",
"parameter" : [
{
"valueId" : "v"
}
]
}
]
}
]
},
{
"name" : "xhtml",
"extends" : "Element",
"typeMode" : "type-and-types",
"input" : [
{
"name" : "src",
"type" : "xhtmlR2",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "xhtml",
"mode" : "target"
}
],
"rule" : [
{
"name" : "xhtml-value",
"source" : [
{
"context" : "src",
"element" : "value",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"transform" : "copy",
"parameter" : [
{
"valueId" : "v"
}
]
}
]
}
]
},
{
"name" : "stringToMarkdown",
"extends" : "Element",
"typeMode" : "types",
"input" : [
{
"name" : "src",
"type" : "stringR2",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "markdown",
"mode" : "target"
}
],
"rule" : [
{
"name" : "stringToMarkdown-value",
"source" : [
{
"context" : "src",
"element" : "value",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"transform" : "copy",
"parameter" : [
{
"valueId" : "v"
}
]
}
]
}
]
},
{
"name" : "codeToUri",
"extends" : "Element",
"typeMode" : "types",
"input" : [
{
"name" : "src",
"type" : "codeR2",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "uri",
"mode" : "target"
}
],
"rule" : [
{
"name" : "codeToUri-value",
"source" : [
{
"context" : "src",
"element" : "value",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"transform" : "copy",
"parameter" : [
{
"valueId" : "v"
}
]
}
]
}
]
},
{
"name" : "stringToId",
"extends" : "Element",
"typeMode" : "types",
"input" : [
{
"name" : "src",
"type" : "stringR2",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "id",
"mode" : "target"
}
],
"rule" : [
{
"name" : "stringToId-value",
"source" : [
{
"context" : "src",
"element" : "value",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"transform" : "copy",
"parameter" : [
{
"valueId" : "v"
}
]
}
]
}
]
},
{
"name" : "idToString",
"extends" : "Element",
"typeMode" : "types",
"input" : [
{
"name" : "src",
"type" : "idR2",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "string",
"mode" : "target"
}
],
"rule" : [
{
"name" : "stringToId-value",
"source" : [
{
"context" : "src",
"element" : "value",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"transform" : "copy",
"parameter" : [
{
"valueId" : "v"
}
]
}
]
}
]
},
{
"name" : "stringToUri",
"extends" : "Element",
"typeMode" : "types",
"input" : [
{
"name" : "src",
"type" : "stringR2",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "uri",
"mode" : "target"
}
],
"rule" : [
{
"name" : "stringToUri-value",
"source" : [
{
"context" : "src",
"element" : "value",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"transform" : "copy",
"parameter" : [
{
"valueId" : "v"
}
]
}
]
}
]
},
{
"name" : "stringToCode",
"extends" : "Element",
"typeMode" : "types",
"input" : [
{
"name" : "src",
"type" : "stringR2",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "code",
"mode" : "target"
}
],
"rule" : [
{
"name" : "stringToCode-value",
"source" : [
{
"context" : "src",
"element" : "value",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"transform" : "copy",
"parameter" : [
{
"valueId" : "v"
}
]
}
]
}
]
},
{
"name" : "codeToString",
"extends" : "Element",
"typeMode" : "types",
"input" : [
{
"name" : "src",
"type" : "codeR2",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "string",
"mode" : "target"
}
],
"rule" : [
{
"name" : "stringToCode-value",
"source" : [
{
"context" : "src",
"element" : "value",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"transform" : "copy",
"parameter" : [
{
"valueId" : "v"
}
]
}
]
}
]
},
{
"name" : "integerToPositiveInt",
"extends" : "Element",
"typeMode" : "types",
"input" : [
{
"name" : "src",
"type" : "integerR2",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "positiveInt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "integerToPositiveInt-value",
"source" : [
{
"context" : "src",
"element" : "value",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"transform" : "copy",
"parameter" : [
{
"valueId" : "v"
}
]
}
]
}
]
},
{
"name" : "integerToUnsignedInt",
"extends" : "Element",
"typeMode" : "types",
"input" : [
{
"name" : "src",
"type" : "integerR2",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "unsignedInt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "integerToUnsignedInt-value",
"source" : [
{
"context" : "src",
"element" : "value",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"transform" : "copy",
"parameter" : [
{
"valueId" : "v"
}
]
}
]
}
]
},
{
"name" : "dateToDateTime",
"extends" : "Element",
"typeMode" : "types",
"input" : [
{
"name" : "src",
"type" : "dateR2",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "dateTime",
"mode" : "target"
}
],
"rule" : [
{
"name" : "dateToDateTime-value",
"source" : [
{
"context" : "src",
"element" : "value",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"transform" : "copy",
"parameter" : [
{
"valueId" : "v"
}
]
}
]
}
]
},
{
"name" : "dateTimeToDate",
"extends" : "Element",
"typeMode" : "types",
"input" : [
{
"name" : "src",
"type" : "dateTimeR2",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "date",
"mode" : "target"
}
],
"rule" : [
{
"name" : "dateTimeToDate-value",
"source" : [
{
"context" : "src",
"element" : "value",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"transform" : "evaluate",
"parameter" : [
{
"valueString" : "v.substring(0, 8)"
}
]
}
]
}
]
}
]
}
XIG built as of ??metadata-date??. Found ??metadata-resources?? resources in ??metadata-packages?? packages.